package com.fang.networkdisk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fang.common.common.CommonPage;
import com.fang.networkdisk.entity.bo.RequestPathBo;
import com.fang.networkdisk.entity.po.TbNetDisRequestPath;

/**
 * <p>
 * 请求路径，当一个接口需要多个权限的时候需要此表。gateway_request_path_permission_relation 服务类
 * </p>
 *
 * @author Bernie_fang
 * @since 2024-12-07
 */
public interface TbNetDisRequestPathService extends IService<TbNetDisRequestPath> {

    CommonPage queryRequestPath(RequestPathBo requestPathBo);

    TbNetDisRequestPath findRequestPathByUrl(String url);

    int addRequestPath(RequestPathBo requestPathBo);

    int updateRequestPathById(RequestPathBo requestPathBo);

    int deleteRequestPathById(Integer id, String authorId);

}
